package com.woniu.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@ApiModel(value = "返回数据实体类")
public class ResponseEntity implements Serializable {
    // http 状态码
    @ApiModelProperty(value = "状态码")
    private Integer code;
    // 返回信息
    @ApiModelProperty(value = "返回信息")
    private String msg;
    // 返回的数据
    @ApiModelProperty(value = "返回的数据")
    private User user;
}
